$(NULL)
ostree_CFLAGS = -I$(srcdir)/src -I$(srcdir)/src/libostree -I$(srcdir)/src/libotutil -DLOCALEDIR=\"$(datadir)/locale\" $(OT_COREBIN_DEP_CFLAGS)
ostree_LDADD = libotutil.la libostree.la $(OT_COREBIN_DEP_LIBS)
-
-bin_PROGRAMS += ostree-http-backend
-
-ostree_http_backend_SOURCES = src/ostree-http-backend.c
-ostree_http_backend_CFLAGS = -I$(srcdir)/src -I$(srcdir)/src/libostree -I$(srcdir)/src/libotutil -DLOCALEDIR=\"$(datadir)/locale\" $(OT_COREBIN_DEP_CFLAGS)
-ostree_http_backend_LDADD = libotutil.la libostree.la $(OT_COREBIN_DEP_LIBS)
-
+++ /dev/null
-/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
- *
- * Copyright (C) 2011 Colin Walters <walters@verbum.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Author: Colin Walters <walters@verbum.org>
- */
-
-#include "config.h"
-
-#include <libsoup/soup-gnome.h>
-#include <ostree.h>
-
-#include <string.h>
-
-int
-main (int argc,
- char **argv)
-{
- const char *repo_root;
-
- g_type_init ();
-
- repo_root = g_getenv ("OSTREE_REPO_PREFIX");
- if (!repo_root)
- {
- g_printerr ("OSTREE_REPO_PREFIX not set\n");
- return 1;
- }
-
- return 0;
-}
cd ${test_tmpdir}
mkdir ${test_tmpdir}/httpd
cd httpd
- cp $(command -v ostree-http-backend) .
- chmod a+x ostree-http-backend
cat >httpd.conf <<EOF
ServerRoot ${test_tmpdir}/httpd
PidFile pid